package com.alipay.config;

/**
 * @Classname AlipayController
 * @Description notify_url 和 return_url 需要外网可以访问，建议natapp 内网穿透
 * @Date 2019/3/21 20:40
 * @Created by 爆裂无球
 */
public class AlipayConfig {

    // 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
    public static String app_id = "2016101900724700";//在后台获取（必须配置）

    // 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCyz8wmLU5Uza++ZoSTiEkSDG6XfY9mhEUffS74nfQXlD6edKN+CMytP3Jl7cnhMMuyUVA+uyees+SGRoYA5xqLYniCi0fLyqh4wdlVOZ7fceiH6uwybo04i4QI5xP8HbPLB+gTegRe6RQfY55UtEaApj69oGCQ4uTX6ehcrD64ub8wqFYtwhoYHTdo58Dz/E8TgJmoGzlqKlbpbKF2/uhwi6ipJL5RogbKqlMrwJsXZkacZFgj+ccalPAwJ5EPyBhO8iRN4TYrOBONXMUWAZX3/2rwXgvKjp16GdaVesYVhBDu9mudG75jVOIGRXlUJZ+Bt/S9oMUbDqop4eEmB3OlAgMBAAECggEAGhuvIi/hTQ6PR4yudOAkUydPin0B0CUl9pgPoKtndX3murorGP7t66nk6S8UF/ZI96tZvR8UhN6dUmG/tSgJPyrMj7sIa6AWgzNCqWf1Y4i9PAM4I5Dyu7vbNnWO/HPVyaJI53ccZkM/9elUt+dul+AuLv/Yua73XPNBQy6/JbdyQRbb/rDA5ZYUtkC2hXIfAzn9eQ/a8IA/gwYtGgKBXvYoLZCOSLOtXOxLL4CDpaShP9kQxW90UHBBCnntHo/ox5CdIQmycpz7HFmFcLFxDw1XwrMXatb5g+lSNsKvnQl10Eaz/lItokqbF8w3uqhedJPSBpeiunFmt8isR7FdrQKBgQD0r9ty46/3uwP5HEpdenyN+c9SlGZeYZx5Lpf2fmVFrMPhL7xTgEmm4BUxIBwPImbniZPJiCkH62hIIGwWRy1MSLEiiynJfY5Bnw52LCn0hGPIBol28goKsONUZ8V557P6XuQ4ya1y928MpauEDveXGarDUnCeLqnBsu1O4pBu5wKBgQC7FDvAEU69rs2T5m76YmTa7zw9tkao438EkWYKZO8MUeDlhn9LkDPa4lM15tatjf2pfNr5ZLmPAUBA74XFMpKgzjj2X4VUboqbStPrLBzfzL0Heh0UPuQt5zv2eM6EBR6V6hTQKPStKiHiQvNhJFMOWNkyGm3/HN4DzSSr78pzkwKBgQDGvdvh6nvwHI+yk773RFjMvL4flfe76067wxOdG7bIK/aB/lLaA9ZO26161FjWFhw9LirCw3yIOTXfd64zPibV0ilGJICRbxDPzhBh/acqOyoMuvqGiTuMyXYsBYmJZaBy2QZH9c+TFNS3Eg1I2xtROIDR2zEr2jz53ooPy8iCuwKBgGk/WtYVZp0kKJfaffjzPhZFnTiCwYHmauEhA605V5swvTujzR2vxNyRk4qxkXkWduzRR0gjOJmRdJqTpkhoyUEag8Vnu9TiU6xGDq8xpBTsVDROqOlo8Go6uutQz65KSwjAJnFteSmqmGF4lP/Dtc5OgfLEF7n8fZLZ6JWqU9VtAoGBAJTvkYLnBT0tAeumAR/8cApoz/lnYbaYD2xCFUHyuyVcFNVWMNKjDngXV3737zc2QfLXI03PZym/yDXpnhLjPah46f4bepzWINITHfNecrB5RT6Givsim7YZI754RATehspRQd2ma1E3prYFNHkXn+EYd4AHio9NAdCjqv4b4g25";//教程查看获取方式（必须配置）

    // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjvislqbyUiEYs2TxM2iuAbrovGXwyqdGGZicwvgPezzYElOSgCfwuIdVTOILe0Caxg0P6ipxue0eTQGxei4AjO60FkDH56VTjbToaLf753Cebnjhi+ag2XAEpYvCfxW2J0h9YnPmRZWgMzAAzKnSLEivXBtaiK5DGD9/HdATUDOqQBTDXlBJT8ZVfm5MsvhoielFz5ptDhxZ7F4D+CYdIHpIq9Rgdmo8dpKBjOL0FRuwS035mxmc5krplhksm01Halh7kMLaapMU61Jl7Y3IlbIgR8bKwzVS3UM05+L6PPKG/fQuq/zFgIvKtAF/+EWTtO9UFTIBE3O/6pTdyr50MQIDAQAB";

    // 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = "http://localhost:8080/alipay/alipayNotifyNotice.action";
    
    // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String return_url = "http://localhost:8080/upda";//upda

    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String charset = "utf-8";

    // 支付宝网关
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";//注意：沙箱测试环境，正式环境为：https://openapi.alipay.com/gateway.do
}							
